using Microsoft.AspNetCore.Mvc;

namespace ViewBagTest.Controllers
{
    public class YidoController : Controller
    {
        public IActionResult Index(string id)
            
        {
ViewBag.ID=id;
            ViewBag.Name = name;
            ViewBag.Sum = 200;
            ViewBag.Price = 98.88;
            return View();
        }
    }
}
